projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b33cc5
)
ci: Store the logs on build failure
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 1 Mar 2018 10:09:22 +0000
(17:09 +0700)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 1 Mar 2018 10:09:22 +0000
(17:09 +0700)
We should save the logs directory when the CI pipeline fails, so that we
have a chance at debugging the failure.
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 0d559ef3cb63cbd3952239fe33f58da71f53a18b..d2469d1aaf4de8574b8987c7535049bcfe69b261 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-20,4
+20,9
@@
cache:
build:
stage: build
script:
- - bash -x ./.gitlab-ci/test-docker.sh
+ - bash -x ./.gitlab-ci/test-docker.sh
+ artifacts:
+ when: on_failure
+ name: "gtk-${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build_full/meson-logs"